using System;
using System.Collections.Generic;
using System.Text;

namespace FinanceStats.Entities
{
    public class UserOutcome
    {
        private long? userOutcomeID;
        private int? userID;
        private int? groupID;
        private int? itemID;
        private DateTime date;
        private decimal amount;
        private string itemName;


        public long? UserOutcomeID
        {
            get { return userOutcomeID; }
            set { userOutcomeID = value; }
        }

        public int? UserID
        {
            get { return userID; }
            set { userID = value; }
        }

        public int? ItemID
        {
            get { return itemID; }
            set { itemID = value; }
        }

        public DateTime Date
        {
            get { return date; }
            set { date = value; }
        }
        
        public decimal Amount
        {
            get { return amount; }
            set { amount = value; }
        }

        public string ItemName
        {
            get { return itemName; }
            set { itemName = value; }
        }

        public int? GroupID
        {
            get { return groupID; }
            set { groupID = value; }
        }

        public override string ToString()
        {
            return itemName + " \t\t\t\t" + amount;
        }
    }
}
